package com.my.cloud.controller;

import cn.hutool.core.util.IdUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhupanlin
 * @version 1.0
 * @description: TODO
 * @date 2024/3/11 22:46
 */
@RestController
public class PaiMicrometerController {
    
    @GetMapping("/pay/micrometer/{id}")
    public String myMicrometer(@PathVariable("id") Integer id){
        return "Hello, myMicrometer inputId： " + id + "\t 服务返回：" + IdUtil.simpleUUID(); 
    }
    
}
